package com.verisette.ncos.persistence.domain;

import java.io.Serializable;
import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class CustomCustomerOrder implements Serializable{
	
	private static final long serialVersionUID = 5271546175924109084L;
	
	@Id
	@Column(name="ORDER_ID")
	private Integer orderId;
	@Column(name="MMB_ID")
	private Integer mmbId;
	@Column(name="MTP_ID")
	private Integer mtpId;
	@Column(name="STATUS")
	private Integer status;
	@Column(name="APPROVED_BY")
	private String approvedBy;
	@Column(name="PDF_PATH")
	private String pdfPath;
	@Column(name="MTP_PATH")
	private String mtpPath;
	@Column(name="MMB_FNAME_TH")
	private String mmbFnameTh;
	@Column(name="MMB_MNAME_TH")
	private String mmbMnameTh;
	@Column(name="MMB_LNAME_TH")
	private String mmbLnameTh;
	@Column(name="MMB_FNAME_EN")
	private String mmbFnameEn;
	@Column(name="MMB_MNAME_En")
	private String mmbMnameEn;
	@Column(name="MMB_LNAME_EN")
	private String mmbLnameEn;
	@Column(name="BRANCH_NAME_TH")
	private String branchNameTh;
	@Column(name="QUANTITY")
	private BigDecimal quantity;
	@Column(name="CREATED_DATE")
	private java.util.Date createdDate;
	public Integer getOrderId() {
		return orderId;
	}
	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}
	public Integer getMmbId() {
		return mmbId;
	}
	public void setMmbId(Integer mmbId) {
		this.mmbId = mmbId;
	}
	public Integer getMtpId() {
		return mtpId;
	}
	public void setMtpId(Integer mtpId) {
		this.mtpId = mtpId;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getApprovedBy() {
		return approvedBy;
	}
	public void setApprovedBy(String approvedBy) {
		this.approvedBy = approvedBy;
	}
	public String getPdfPath() {
		return pdfPath;
	}
	public void setPdfPath(String pdfPath) {
		this.pdfPath = pdfPath;
	}
	public String getMtpPath() {
		return mtpPath;
	}
	public void setMtpPath(String mtpPath) {
		this.mtpPath = mtpPath;
	}
	public String getMmbFnameTh() {
		return mmbFnameTh;
	}
	public void setMmbFnameTh(String mmbFnameTh) {
		this.mmbFnameTh = mmbFnameTh;
	}
	public String getMmbLnameTh() {
		return mmbLnameTh;
	}
	public void setMmbLnameTh(String mmbLnameTh) {
		this.mmbLnameTh = mmbLnameTh;
	}
	public String getBranchNameTh() {
		return branchNameTh;
	}
	public void setBranchNameTh(String branchNameTh) {
		this.branchNameTh = branchNameTh;
	}
	public String getMmbMnameTh() {
		return mmbMnameTh;
	}
	public void setMmbMnameTh(String mmbMnameTh) {
		this.mmbMnameTh = mmbMnameTh;
	}
	public BigDecimal getQuantity() {
		return quantity;
	}
	public void setQuantity(BigDecimal quantity) {
		this.quantity = quantity;
	}
	public java.util.Date getCreatedDate() {
		return createdDate;
	}
	public void setCreatedDate(java.util.Date createdDate) {
		this.createdDate = createdDate;
	}
	public String getMmbFnameEn() {
		return mmbFnameEn;
	}
	public void setMmbFnameEn(String mmbFnameEn) {
		this.mmbFnameEn = mmbFnameEn;
	}
	public String getMmbMnameEn() {
		return mmbMnameEn;
	}
	public void setMmbMnameEn(String mmbMnameEn) {
		this.mmbMnameEn = mmbMnameEn;
	}
	public String getMmbLnameEn() {
		return mmbLnameEn;
	}
	public void setMmbLnameEn(String mmbLnameEn) {
		this.mmbLnameEn = mmbLnameEn;
	}
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("CustomCustomerOrder [");
		if (orderId != null) {
			builder.append("orderId=");
			builder.append(orderId);
			builder.append(", ");
		}
		if (mmbId != null) {
			builder.append("mmbId=");
			builder.append(mmbId);
			builder.append(", ");
		}
		if (mtpId != null) {
			builder.append("mtpId=");
			builder.append(mtpId);
			builder.append(", ");
		}
		if (status != null) {
			builder.append("status=");
			builder.append(status);
			builder.append(", ");
		}
		if (approvedBy != null) {
			builder.append("approvedBy=");
			builder.append(approvedBy);
			builder.append(", ");
		}
		if (pdfPath != null) {
			builder.append("pdfPath=");
			builder.append(pdfPath);
			builder.append(", ");
		}
		if (mtpPath != null) {
			builder.append("mtpPath=");
			builder.append(mtpPath);
			builder.append(", ");
		}
		if (mmbFnameTh != null) {
			builder.append("mmbFnameTh=");
			builder.append(mmbFnameTh);
			builder.append(", ");
		}
		if (mmbMnameTh != null) {
			builder.append("mmbMnameTh=");
			builder.append(mmbMnameTh);
			builder.append(", ");
		}
		if (mmbLnameTh != null) {
			builder.append("mmbLnameTh=");
			builder.append(mmbLnameTh);
			builder.append(", ");
		}
		if (mmbFnameEn != null) {
			builder.append("mmbFnameEn=");
			builder.append(mmbFnameEn);
			builder.append(", ");
		}
		if (mmbMnameEn != null) {
			builder.append("mmbMnameEn=");
			builder.append(mmbMnameEn);
			builder.append(", ");
		}
		if (mmbLnameEn != null) {
			builder.append("mmbLnameEn=");
			builder.append(mmbLnameEn);
			builder.append(", ");
		}
		if (branchNameTh != null) {
			builder.append("branchNameTh=");
			builder.append(branchNameTh);
			builder.append(", ");
		}
		if (quantity != null) {
			builder.append("quantity=");
			builder.append(quantity);
			builder.append(", ");
		}
		if (createdDate != null) {
			builder.append("createdDate=");
			builder.append(createdDate);
		}
		builder.append("]");
		return builder.toString();
	}
}
